package org.example.demo1.common;

import lombok.Getter;

@Getter
public enum ResponseEnum {

    SUCCESS("200","请求成功"),
    FAIL_exist("400","用户已存在"),
    FAIL_notUser("400","用户名错误"),
    FAIL_noUserName("400","用户名不能为空"),
    FAIL_noPassword("400","密码不能为空"),
    FAIL_lengthPassword("400","密码长度不能小于8"),
    FAIL_symbolPassword("400","密码必需包含特殊符号");

    private String code;
    private String message;


    ResponseEnum(String code,String message){
        this.code=code;
        this.message=message;
    }
}
